package com.shop.cloud.upms.common.feign;

import com.shop.cloud.common.core.constant.SecurityConstants;
import com.shop.cloud.common.core.constant.ServiceNameConstants;
import com.shop.cloud.common.core.util.R;
import com.shop.cloud.upms.common.entity.H5PortalDomain;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author 
 */
@FeignClient(contextId = "feignH5PortalDomainService", value = ServiceNameConstants.UMPS_ADMIN_SERVICE)
public interface FeignH5PortalDomainService {
	/**
	 * 查询
	 * @return R
	 */
	@GetMapping("/h5portaldomain/inside/{id}")
	R<H5PortalDomain> getById(@PathVariable("id") String id
			, @RequestHeader(SecurityConstants.FROM) String from);

}
